from apr13.pcUtils import *
import time


s =pcScrawler()
url='https://www.in-en.com/keylist.php?q=%E7%94%9F%E7%89%A9'
#body > div:nth-child(4) > div.slideTxtBox.fl > ul > li:nth-child(1) > div.imgBox > a > img
#body > div:nth-child(4) > div.slideTxtBox.fl > ul > li:nth-child(2) > div.imgBox > a > img
#body > div:nth-child(4) > div.slideTxtBox.fl > ul > li:nth-child(5) > div.imgBox > a > img
picUrl = s.getImgUrl(url,selector='div.imgBox a img')
for index,url in enumerate(picUrl):
    s.getImg(url,imgName ="bionnews-"+str(index)+".jpg")
    print("大哥")
    time.sleep(1)